package com.haier.bims.samples.bean;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.haier.common.AbstractBean;

@XmlRootElement(name="samples")
public class SamplesList extends AbstractBean {

	private static final long serialVersionUID = -7960256477356412478L;
	
	private List<Samples> samples = null ;
	
	private Integer count ;
	
	public SamplesList(){
		
	}
	
	public SamplesList( List<Samples> samples ){
		this.samples = samples ;
		this.count = this.samples.size();
	}

	@XmlElement(name="samples")
	public List<Samples> getSamples() {
		return samples;
	}

	public void setSamples(List<Samples> samples) {
		this.samples = samples;
		this.count = this.samples.size();
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}
}
